package user;

import data.DataBase;
import operation.IOperation;

public abstract class User {
    public abstract int menu();
    IOperation[] iOperation;
    public void doWork(int choice, DataBase dataBase) {
        iOperation[choice].work(dataBase);
    }
}
